package com.example.a28796.beautiful.application;

import android.app.Application;

import com.activeandroid.ActiveAndroid;

import org.xutils.x;

/**
 * Created by admin on 2016/8/9.
 */
public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        x.Ext.init(this);
        ActiveAndroid.initialize(this);
    }

    @Override
    public void onTerminate() {
        super.onTerminate();
        ActiveAndroid.dispose();
    }
}
